/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconMsg = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1087 1024" width={size} height={size} {...rest}>
      <Path
        d="M968.589786 0.012747h-849.781953A117.081069 117.081069 0 0 0 0.310461 125.591635v624.589736a110.471654 110.471654 0 0 0 116.608968 116.608968h249.741473l149.183943 144.935033a42.016997 42.016997 0 0 0 29.270268 12.274628 41.072794 41.072794 0 0 0 29.270267-12.274628l146.823437-144.935033h247.380969A109.999553 109.999553 0 0 0 1086.142956 750.653472V125.591635a117.081069 117.081069 0 0 0-117.55317-125.578888z m33.991278 749.224422c0 24.077155-9.914123 33.991278-33.991278 33.991278h-263.904507a41.072794 41.072794 0 0 0-30.214469 11.802527l-129.827799 127.939394-131.716202-126.995192a40.128592 40.128592 0 0 0-30.686571-11.802527H116.919429c-24.077155 0-33.991278-9.914123-33.991279-33.991278V125.591635c0-12.746729 3.304708-42.016997 33.991279-42.016996h849.781952c30.686571 0 33.991278 29.270267 33.991279 42.016996z"
        fill={getIconColor(color, 0, '#262626')}
      />
      <Path
        d="M219.365364 429.624734a73.647769 73.647769 0 1 0 146.823437 0 73.647769 73.647769 0 0 0-146.823437 0zM480.909365 429.624734a73.647769 73.647769 0 1 0 146.823437 0 73.647769 73.647769 0 0 0-146.823437 0zM741.037063 428.680532a73.647769 73.647769 0 1 0 73.175668-73.175668 73.175668 73.175668 0 0 0-73.175668 73.175668z"
        fill={getIconColor(color, 1, '#3A3A3A')}
      />
    </Svg>
  );
};

IconMsg.defaultProps = {
  size: 18,
};

IconMsg = React.memo ? React.memo(IconMsg) : IconMsg;

export default IconMsg;
